'''
@名称：BMI指数计算器
@作者：Fida1214
@日期：2025/3/5
'''

height = input("Please input your height: ")
weight = input("Please input your weight: ")
height = float(height)
weight = float(weight)
bmi = weight/(height**2)
bmi = round(bmi,2)
if bmi < 18.5:
    print(str(bmi) + "您的体重过轻~")
if bmi >= 18.5 and bmi <= 24.9:
    print(str(bmi) + "处于正常范围，请保持！")
if bmi >= 25 and bmi <= 29.9:
    print(str(bmi) + "您超重了啊！！！")
if bmi >= 30:
    print(str(bmi) + "您已经肥胖了，快去减肥啊！！！")